<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<f:loadBundle basename="mensagens" var="msgs" />

<h:head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8;" />
	<title><ui:insert name="titulo">
			<h:outputText value="#{msgs['titulo.sistema']}" />
		</ui:insert></title>
	<h:outputStylesheet library="css" name="style.css" />
	<ui:insert name="cabecalho" />
	<link rel="shortcut icon" href="../../../resources/img/f21.gif" />
</h:head>
<h:body>
	<div id="cabecalho">
		<h:graphicImage library="img" name="icon.gif" id="logoCompany" />
	</div>
	<div id="conteudo">
		<h:form>
			<p:menubar styleClass="menunav">

				<p:submenu label="#{msgs['menu.cadastro']}">
					<p:menuitem value="#{msgs['menu.cadastro.novousuario']}"
						url="/pages/CadUsuario.jsf" icon="ui-icon-document" />
					<p:menuitem value="#{msgs['menu.cadastro.listauser']}"
						url="/pages/ListaUsuarios.jsf" icon="ui-icon-document" />
					<p:separator />
					<p:menuitem value="#{msgs['menu.cadastro.modalidade']}"
						url="/pages/Modalidades.jsf" icon="ui-icon-document" />
					<p:menuitem value="#{msgs['menu.cadastro.listModalidades']}"
						url="/pages/ListaModalidades.jsf" icon="ui-icon-document" />
				</p:submenu>
				<p:submenu label="#{msgs['menu.modalidade']}">
					<p:submenu label="#{msgs['menu.modalidade.cadastro']}"></p:submenu>
					<p:menuitem value="#{msgs['menu.modalidade.treinameto']}"
						url="/pages/modalidade/treinameto/treinamento.jsf" icon="ui-icon-document" />
				</p:submenu>
				<p:menuitem value="#{msgs['menu.logout']}" icon="ui-icon-close"></p:menuitem>
			</p:menubar>
		</h:form>
		<p:messages id="messages" autoUpdate="true" closable="true" />
		<ui:insert name="corpo" />
	</div>
	<div id="rodape">#{msgs['footer.label.titulo']}</div>
</h:body>
</html>